Optimal. Leaf size=209 \[ \frac{b (3 a+7 b) \tan (e+f x) \sqrt{a+b \tan ^2(e+f x)+b}}{2 f (a+b)}+\frac{\sqrt{b} (3 a+7 b) \tanh ^{-1}\left (\frac{\sqrt{b} \tan (e+f x)}{\sqrt{a+b \tan ^2(e+f x)+b}}\right )}{2 f}-\frac{\cot ^5(e+f x) \left (a+b \tan ^2(e+f x)+b\right )^{5/2}}{5 f (a+b)}-\frac{2 \cot ^3(e+f x) \left (a+b \tan ^2(e+f x)+b\right )^{5/2}}{3 f (a+b)}-\frac{(3 a+7 b) \cot (e+f x) \left (a+b \tan ^2(e+f x)+b\right )^{3/2}}{3 f (a+b)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.20454, antiderivative size = 209, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 7, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.28, Rules used = {4132, 462, 453, 277, 195, 217, 206} \[ \frac{b (3 a+7 b) \tan (e+f x) \sqrt{a+b \tan ^2(e+f x)+b}}{2 f (a+b)}+\frac{\sqrt{b} (3 a+7 b) \tanh ^{-1}\left (\frac{\sqrt{b} \tan (e+f x)}{\sqrt{a+b \tan ^2(e+f x)+b}}\right )}{2 f}-\frac{\cot ^5(e+f x) \left (a+b \tan ^2(e+f x)+b\right )^{5/2}}{5 f (a+b)}-\frac{2 \cot ^3(e+f x) \left (a+b \tan ^2(e+f x)+b\right )^{5/2}}{3 f (a+b)}-\frac{(3 a+7 b) \cot (e+f x) \left (a+b \tan ^2(e+f x)+b\right )^{3/2}}{3 f (a+b)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4132
Rule 462
Rule 453
Rule 277
Rule 195
Rule 217
Rule 206
Rubi steps
\begin{align*} \int \csc ^6(e+f x) \left (a+b \sec ^2(e+f x)\right )^{3/2} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{\left (1+x^2\right )^2 \left (a+b+b x^2\right )^{3/2}}{x^6} \, dx,x,\tan (e+f x)\right )}{f}\\ &=-\frac{\cot ^5(e+f x) \left (a+b+b \tan ^2(e+f x)\right )^{5/2}}{5 (a+b) f}+\frac{\operatorname{Subst}\left (\int \frac{\left (a+b+b x^2\right )^{3/2} \left (10 (a+b)+5 (a+b) x^2\right )}{x^4} \, dx,x,\tan (e+f x)\right )}{5 (a+b) f}\\ &=-\frac{2 \cot ^3(e+f x) \left (a+b+b \tan ^2(e+f x)\right )^{5/2}}{3 (a+b) f}-\frac{\cot ^5(e+f x) \left (a+b+b \tan ^2(e+f x)\right )^{5/2}}{5 (a+b) f}+\frac{(3 a+7 b) \operatorname{Subst}\left (\int \frac{\left (a+b+b x^2\right )^{3/2}}{x^2} \, dx,x,\tan (e+f x)\right )}{3 (a+b) f}\\ &=-\frac{(3 a+7 b) \cot (e+f x) \left (a+b+b \tan ^2(e+f x)\right )^{3/2}}{3 (a+b) f}-\frac{2 \cot ^3(e+f x) \left (a+b+b \tan ^2(e+f x)\right )^{5/2}}{3 (a+b) f}-\frac{\cot ^5(e+f x) \left (a+b+b \tan ^2(e+f x)\right )^{5/2}}{5 (a+b) f}+\frac{(b (3 a+7 b)) \operatorname{Subst}\left (\int \sqrt{a+b+b x^2} \, dx,x,\tan (e+f x)\right )}{(a+b) f}\\ &=\frac{b (3 a+7 b) \tan (e+f x) \sqrt{a+b+b \tan ^2(e+f x)}}{2 (a+b) f}-\frac{(3 a+7 b) \cot (e+f x) \left (a+b+b \tan ^2(e+f x)\right )^{3/2}}{3 (a+b) f}-\frac{2 \cot ^3(e+f x) \left (a+b+b \tan ^2(e+f x)\right )^{5/2}}{3 (a+b) f}-\frac{\cot ^5(e+f x) \left (a+b+b \tan ^2(e+f x)\right )^{5/2}}{5 (a+b) f}+\frac{(b (3 a+7 b)) \operatorname{Subst}\left (\int \frac{1}{\sqrt{a+b+b x^2}} \, dx,x,\tan (e+f x)\right )}{2 f}\\ &=\frac{b (3 a+7 b) \tan (e+f x) \sqrt{a+b+b \tan ^2(e+f x)}}{2 (a+b) f}-\frac{(3 a+7 b) \cot (e+f x) \left (a+b+b \tan ^2(e+f x)\right )^{3/2}}{3 (a+b) f}-\frac{2 \cot ^3(e+f x) \left (a+b+b \tan ^2(e+f x)\right )^{5/2}}{3 (a+b) f}-\frac{\cot ^5(e+f x) \left (a+b+b \tan ^2(e+f x)\right )^{5/2}}{5 (a+b) f}+\frac{(b (3 a+7 b)) \operatorname{Subst}\left (\int \frac{1}{1-b x^2} \, dx,x,\frac{\tan (e+f x)}{\sqrt{a+b+b \tan ^2(e+f x)}}\right )}{2 f}\\ &=\frac{\sqrt{b} (3 a+7 b) \tanh ^{-1}\left (\frac{\sqrt{b} \tan (e+f x)}{\sqrt{a+b+b \tan ^2(e+f x)}}\right )}{2 f}+\frac{b (3 a+7 b) \tan (e+f x) \sqrt{a+b+b \tan ^2(e+f x)}}{2 (a+b) f}-\frac{(3 a+7 b) \cot (e+f x) \left (a+b+b \tan ^2(e+f x)\right )^{3/2}}{3 (a+b) f}-\frac{2 \cot ^3(e+f x) \left (a+b+b \tan ^2(e+f x)\right )^{5/2}}{3 (a+b) f}-\frac{\cot ^5(e+f x) \left (a+b+b \tan ^2(e+f x)\right )^{5/2}}{5 (a+b) f}\\ \end{align*}
Mathematica [C] time = 10.4456, size = 512, normalized size = 2.45 \[ \frac{\sqrt{2} e^{i (e+f x)} \cos ^3(e+f x) \sqrt{4 b+a e^{-2 i (e+f x)} \left (1+e^{2 i (e+f x)}\right )^2} \left (-\frac{i \left (16 a^2 \left (1+e^{2 i (e+f x)}\right )^2 \left (-6 e^{2 i (e+f x)}+16 e^{4 i (e+f x)}-6 e^{6 i (e+f x)}+e^{8 i (e+f x)}+1\right )+a b \left (-402 e^{2 i (e+f x)}+317 e^{4 i (e+f x)}+708 e^{6 i (e+f x)}+317 e^{8 i (e+f x)}-402 e^{10 i (e+f x)}+115 e^{12 i (e+f x)}+115\right )+b^2 \left (-350 e^{2 i (e+f x)}+231 e^{4 i (e+f x)}+412 e^{6 i (e+f x)}+231 e^{8 i (e+f x)}-350 e^{10 i (e+f x)}+105 e^{12 i (e+f x)}+105\right )\right )}{(a+b) \left (-1+e^{2 i (e+f x)}\right )^5 \left (1+e^{2 i (e+f x)}\right )^2}-\frac{15 \sqrt{b} (3 a+7 b) \log \left (\frac{4 i f \sqrt{a \left (1+e^{2 i (e+f x)}\right )^2+4 b e^{2 i (e+f x)}}-4 \sqrt{b} f \left (-1+e^{2 i (e+f x)}\right )}{1+e^{2 i (e+f x)}}\right )}{\sqrt{a \left (1+e^{2 i (e+f x)}\right )^2+4 b e^{2 i (e+f x)}}}\right ) \left (a+b \sec ^2(e+f x)\right )^{3/2}}{15 f (a \cos (2 (e+f x))+a+2 b)^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.951, size = 8726, normalized size = 41.8 \begin{align*} \text{output too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 20.3657, size = 1732, normalized size = 8.29 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b \sec \left (f x + e\right )^{2} + a\right )}^{\frac{3}{2}} \csc \left (f x + e\right )^{6}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]